package org.quickjsf.core.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(value={ElementType.METHOD, ElementType.FIELD})
@Retention(value=RetentionPolicy.RUNTIME)
public @interface MRelation {
	enum RELATION {ONE_TO_ONE, ONE_TO_MANY}
	RELATION relation();
	String mappedBy();
	Class<?> targetEntity() default Void.class;
}
